<%@ page import="java.applet.Applet" %><%--
  Created by IntelliJ IDEA.
  User: hp
  Date: 2021/3/26
  Time: 22:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>$Title$</title>
</head>
<body>
        <!--java脚本段-->
        <%
           //获取参数
            String uname = request.getParameter("uname");
            //获取request作用域
            String  upwd = (String) request.getAttribute("upwd");

            //输出内容
            System.out.println(uname);
            System.out.println("-----------------");
            System.out.println(upwd);
        %>
</body>
</html>
